package com.mall.service;

import com.github.pagehelper.PageInfo;
import com.mall.common.model.GlobalResponse;
import com.mall.form.ShippingForm;

import java.util.Map;

/**
 * @Classname IShippingService
 * @Description
 * @Date 2022/7/31 14:18
 * @Created by TaoVh
 */
public interface IShippingService {
    GlobalResponse<Map<String,Integer>> add(Integer uid, ShippingForm form);

    GlobalResponse delete(Integer uid, Integer shippingId);

    GlobalResponse update(Integer uid, Integer shippingId,ShippingForm form);

    GlobalResponse<PageInfo> list(Integer uid, Integer pageNum,Integer pageSize);

}
